package com.ac.scum.log.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName
public class Server implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long apiId;
    private String fullName;
    private String name;
    private String country;
    private LocalDateTime createTime;

    @TableField(exist = false)
    private List<Package> packages;
}
